package com.liusaidh.service.impl;

import com.liusaidh.dao.UserDao;
import com.liusaidh.domain.User;
import com.liusaidh.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import javax.xml.ws.RequestWrapper;

@Controller
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userMapper;

    @Override
    public void register(User user) {
        userMapper.register(user);
    }
}
